package cn.t.converter.order;

import cn.t.core.converter.CoreConverter;
import cn.t.model.order.OrderDetailDO;
import cn.t.persistence.entity.order.OrderDetailPO;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * 领料订单明细表(OrderDetail)领域对象与实体对象转换
 *
 * @author t
 * @since 2024-05-24 10:18:10
 */
@Mapper(componentModel = "spring")
public interface OrderDetailConverter extends CoreConverter<OrderDetailDO, OrderDetailPO> {
    List<OrderDetailDO> po2DoList(List<OrderDetailPO> orderDetails);
    List<OrderDetailPO> do2PoList(List<OrderDetailDO> orderDetails);

}

